package com.smartleanx.module.hrm.controller.admin.memorandum.vo;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Schema(description = "管理后台 - 备忘录列表 Response VO")
@Data
public class MemorandumListRespVO {

    @Schema(description = "备忘时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN, timezone = "GMT+8")
    @JsonSerialize(using = LocalDateSerializer.class)
    private LocalDate memosDate;

    @Schema(description = "备忘录列表")
    private List<MemorandumRespVO> memorandumRespVOList;
}
